powered by
txt %x=% n txt %x=|% length.out strrep( txt, n, length.out=getOption("width") )
paste
sprintf
rep
"=" %x=% 80 "<-+->" %x=|% 80 strrep( ".-", n = 10 ) strrep( ".-", length.out = 50 ) strrep( ".-" )
Run the code above in your browser using DataLab